package com.leyou.search.service;

import com.leyou.common.vo.PageResult;
import com.leyou.item.pojo.Spu;
import com.leyou.item.pojo.SpuBo;
import com.leyou.search.pojo.Goods;
import com.leyou.search.pojo.SearchRequest;

public interface SearchService {

    Goods buildGoods(SpuBo spu);

    PageResult<Goods> search(SearchRequest searchRequest);

    void insertOrUpdateBySpuId(Long spuId);

    void deleteBySpuId(Long spuId);
}
